package androidx.test.espresso.base;

import androidx.test.espresso.UiController;
import androidx.test.espresso.base.RootViewPicker;
import androidx.test.espresso.core.internal.deps.dagger.internal.Factory;
import androidx.test.runner.lifecycle.ActivityLifecycleMonitor;
import java.util.concurrent.atomic.AtomicReference;
import javax.inject.Provider;

/* loaded from: classes.dex */
public final class RootViewPicker_Factory implements Factory<RootViewPicker> {
    private final Provider<ActivityLifecycleMonitor> activityLifecycleMonitorProvider;
    private final Provider<AtomicReference<Boolean>> needsActivityProvider;
    private final Provider<RootViewPicker.RootResultFetcher> rootResultFetcherProvider;
    private final Provider<UiController> uiControllerProvider;

    public RootViewPicker_Factory(Provider<UiController> uiControllerProvider, Provider<RootViewPicker.RootResultFetcher> rootResultFetcherProvider, Provider<ActivityLifecycleMonitor> activityLifecycleMonitorProvider, Provider<AtomicReference<Boolean>> needsActivityProvider) {
        this.uiControllerProvider = uiControllerProvider;
        this.rootResultFetcherProvider = rootResultFetcherProvider;
        this.activityLifecycleMonitorProvider = activityLifecycleMonitorProvider;
        this.needsActivityProvider = needsActivityProvider;
    }

    @Override // javax.inject.Provider
    public RootViewPicker get() {
        return provideInstance(this.uiControllerProvider, this.rootResultFetcherProvider, this.activityLifecycleMonitorProvider, this.needsActivityProvider);
    }

    public static RootViewPicker provideInstance(Provider<UiController> uiControllerProvider, Provider<RootViewPicker.RootResultFetcher> rootResultFetcherProvider, Provider<ActivityLifecycleMonitor> activityLifecycleMonitorProvider, Provider<AtomicReference<Boolean>> needsActivityProvider) {
        return new RootViewPicker(uiControllerProvider.get(), rootResultFetcherProvider.get(), activityLifecycleMonitorProvider.get(), needsActivityProvider.get());
    }

    public static RootViewPicker_Factory create(Provider<UiController> uiControllerProvider, Provider<RootViewPicker.RootResultFetcher> rootResultFetcherProvider, Provider<ActivityLifecycleMonitor> activityLifecycleMonitorProvider, Provider<AtomicReference<Boolean>> needsActivityProvider) {
        return new RootViewPicker_Factory(uiControllerProvider, rootResultFetcherProvider, activityLifecycleMonitorProvider, needsActivityProvider);
    }

    public static RootViewPicker newRootViewPicker(UiController uiController, Object rootResultFetcher, ActivityLifecycleMonitor activityLifecycleMonitor, AtomicReference<Boolean> needsActivity) {
        return new RootViewPicker(uiController, (RootViewPicker.RootResultFetcher) rootResultFetcher, activityLifecycleMonitor, needsActivity);
    }
}
